package net.neiquan.neiquandemowithkf.entity;

/**
 * 作者 ： hjb
 * 时间 ： 2016/7/26.
 */

public class Good {

    /**
     * id : 402880e855b4c36c0155b4dd5f35000a
     * price : 300.0
     * sellByMonth : 21
     * commodityName : 小龙虾
     * standard : 500g
     * url : http://xianshenghui-image-06792.oss-cn-beijing.aliyuncs.com/20160704/15/a3ef269f-bdc7-4173-9d92-cdc8bfb9f996_img.png
     */

    private String id;
    private double price;
    private int sellByMonth;
    private String commodityName;
    private String standard;
    private String url;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getSellByMonth() {
        return sellByMonth;
    }

    public void setSellByMonth(int sellByMonth) {
        this.sellByMonth = sellByMonth;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Good{" +
                "id='" + id + '\'' +
                ", price=" + price +
                ", sellByMonth=" + sellByMonth +
                ", commodityName='" + commodityName + '\'' +
                ", standard='" + standard + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
